Skip to main content

Verify Bank Card Payout Eligibility

Overview

The Verify Bank Card Payout Eligibility API validates whether a bank card meets the requirements for payout operations. This endpoint allows merchants to check card eligibility before initiating transfer requests, helping ensure successful payout transactions.

API URL

  • UAT Environment: https://uat.test2pay.com/sgs/api/transfer/verifyBankCardPayoutEligibility
  • Production Environment: https://api.payby.com/sgs/api/transfer/verifyBankCardPayoutEligibility

HTTP Method: POST

Request Parameters

HTTP Headers

Attributes
  • Content-Language String

    • Language in which the response message will be used.
    • Currently, only English is supported.
    • Example value: en
    • Maximum length: 10
  • Content-Type String Required

    • Media type of the request body.
    • Required for operations with a request body.
    • Format: application/<format> (e.g., application/json)
    • Example value: application/json
  • sign String Required

    • Request signature using private-key cryptography.
    • Ensures the payment gateway can verify the request origin.
  • Partner-Id String Required

    • Merchant ID of your account.
    • Example value: 200001200101
    • Maximum length: 12

HTTP Body

  • requestTime Timestamp(3) Required

    • Unix timestamp in milliseconds.
    • Example value: 1581493898000
  • bizContent VerifyBankCardPayoutEligibilityRequest Required

    • Main request payload containing card verification details.

    • cardNumber String(50) Required

      • Encrypted card number for verification.
      • Must be 12–19 numeric characters when decrypted.

Request Sample

// Http Header
{
"Content-Language": "en",
"Content-Type": "application/json",
"Partner-Id": "200000018128",
"sign": "S5Wr6x9Po1SX3nm4kRJyTueUMbnmsPGMlMjc3PcoyNyP0G5BuRAwauYjTJLeto6Bu1+893zCGmj201mjrvcXP4v/uMzQxRav5PBMp9VuQ+3dOFGclQAwr8cFAKuBDHhGAAkw1iVpdC8ZZLGl/jRUv3PCiZh6VyOLnrK7ZIevB/TetQSzCmN1xDIQo8mpDYz7YY/jSzYBnD17ePvkr4qQOWNUh7FF2nd29lo9KOQl5tJVoqT/D+PVSlZeuGr+wxBYCAyGqbVXXSAGcwF1egF6ISLJ29jpHcX/LACXxF/uf5cdzbudwPB2X0wtRw9WnowY3RUq34sidoF4DIShXVFHAg=="
}

//Http Body
{
"bizContent": {
"cardNumber": "N1J8gXNPwwqB6B+VeEDBl+bzZt0PHUZYBJvroOD5oWikMlY8a4YFCwDNbY4T/xCLfNzIQ/3fWl2flEp7bIHvt/wFliXBqYXwFIfg532CHD2ghGz8IZ6/19wU1RcGXc7g1C3MS9sCRwP8PubGd3UxaOuUxaE8Q/oKFaKm5ZcBucmZVH5skttFUPETnMyhfhNr2X2v8L34Cr2CVb5tx2x1RD80DFI76fO7OF4VFhWUVF/Jl2N/hecI6iJZ2WIGh6Wkp7wENIydKjJxUdERqE4316SOwSFKZvowpQ4Mmh8pv6lmXHgIZmkASdG+JqdmBTSlNQQOdyiiwwpptIUn7vHXEQ=="
},
"requestTime": 1741917297160
}

Response Parameters

HTTP Headers

Attributes
  • applyStatus String(16) Required

    • Request status result.
    • Example value: SUCCESS
    • Possible values:
      • SUCCESS: Application successful
      • FAIL: Application failed
      • ERROR: Exception occurred
  • code String(10) Required

    • Return error code.
    • Example value: 0
  • msg String(200)

    • Return message.

HTTP Body

  • body VerifyBankCardPayoutEligibilityResponse Optional
    • Card verification result details.

  - cardPayoutsType CardPayoutsType Required
- Indicates the payout capability of the verified card.
- Example value: STANDARD

   CardPayoutsType Values
- UNKNOWN: Card payout capability cannot be determined
- NOT_SUPPORTED: Card does not support payout operations
- FAST_FUNDS: Card supports expedited payout processing
- STANDARD: Card supports standard payout processing

Response Sample

{
"body": {
"cardPayoutsType": "STANDARD"
},
"head": {
"applyStatus": "SUCCESS",
"code": "0",
"msg": "SUCCESS",
"success": true,
"traceCode": "268991"
}
}

Response Codes

CodeMessageCauseWorkaround
0SUCCESSRequest processed successfully-
400INVALID_PARAMETERInvalid request parametersReview and correct request parameters
400REQUESTTIME_TOO_EARLYRequest timestamp is too far in the pastAdjust request time to current timestamp
400REQUESTTIME_TOO_LATERRequest timestamp is too far in the futureAdjust request time to current timestamp
402RATE_LIMIT_REJECTRequest rate limit exceededReduce request frequency
403UNAUTHORIZEDAPI access not authorizedContact PayBy for authorization
404SERVICE_NOT_AVAILABLEAPI service unavailableContact PayBy support
500SYSTEM_ERRORInternal system errorContact PayBy support and retry later
504SERVICE_TIMEOUTService request timeoutRetry the request after some time
601RISK_FAILRisk control validation failedReview business parameters and compliance
62103QUERY_API_UNAVAILABLEQuery API temporarily unavailableRetry the request later
62105INVALID_DATA_SENTInvalid data sent to retrieve APIReview and correct request parameters